package com.zho.common.consumer;

import java.util.List;

public interface IOutDataService<T> {
    /**
     * 
     * @param consumer
     */
    void setConsumerNotifier(final INotifier consumerNotifier);

    /**
     * 
     * @return
     */
    boolean checkAvailable();

    /**
     * 
     * @param data
     */
    boolean send(List<T> data) throws Exception;
}
